/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package recommender.dbi;

import java.util.List;
import recommender.objects.Entity;
import recommender.objects.Parent;

/**
 * An interface to perform contact with the database
 * @author Aya
 */
public abstract class DBI {
    
    public abstract List<Entity> getTopLevelNodes();
    public abstract List<Entity> getAllEntities();
    public abstract List<Parent> getParentsOf(Entity e);
    public abstract Entity getEntity(String identifier) throws Exception;
}
